package com.uzai.console.dto.sys.datahandle;

import com.uzai.console.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author lucher create in 2022/11/09 10:53
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel("会员余额处理请求DTO")
@Data
public class UserBalanceHanderDto extends BaseDto {

    @ApiModelProperty(value = "设备类型")
    private String deviceType;

    @ApiModelProperty(value = "会员id/微信id")
    private List<String> userIdList;

    @ApiModelProperty("短信验证码（type=11）")
    private String code;

    @ApiModelProperty("余额")
    private Double balance;

    @ApiModelProperty("余额修改类型(-1为减量；0-改成一个值；1为增量)")
    private Integer balanceType;

    @ApiModelProperty("积分")
    private Integer integral;

    @ApiModelProperty("积分修改类型(-1为减量；0-改成一个值；1为增量)")
    private Integer integralType;

}
